export const adscenedata: string[] = [
    '全部', '海报', '展板', '节日海报', '背景', '元素', '易拉宝', '包装', '样机', '宣传单', '名片卡券', '艺术字', 'LOGO', '3D海报', '其它', '国外海报', '画册', '证书', '企业套图', '软件工具'
];

export const adplatetypedata: string[] = [
    '全部', '横图', '竖图'
];

export const adscene: string[] = [
    '海报', '展板', '节日海报', '背景', '元素', '易拉宝', '包装', '样机', '宣传单', '名片卡券', '艺术字', 'LOGO', '3D海报', '其它', '国外海报', '画册', '证书', '企业套图', '软件工具'
];

export const adplatetype: string[] = [
    '横图', '竖图'
];

export const adimagePaths: string[] = [
    'https://js.ibaotu.com/act/24/07/18/6698890e7f987.jpg',
    'https://js.ibaotu.com/act/24/07/18/6698890e795ed.jpg',
    'https://js.ibaotu.com/act/24/07/18/669889070786a.jpg',
    'https://js.ibaotu.com/act/24/07/18/6698890e7b5b0.jpg',
    'https://js.ibaotu.com/act/24/07/18/6698890ecefdf.jpg'
];

export const adsortdata: string[] = [
    '综合排序', '热门下载', '最新上传', '昨日热图'
];

interface InitialOption {
    id: string;
    label: string;
    isSelected: boolean;
}

export const initialOptions: InitialOption[] = [
    { id: 'selfProduced', label: '包图自产', isSelected: false },
    { id: 'enterpriseExclusive', label: '企业专享', isSelected: false },
    { id: 'creativePro', label: '创意Pro', isSelected: false },
];

interface AdData {
    id: number;
    name: string;
    flag: boolean;
    scene: string;
    platetype: string;
    image: string;
}

export const alladData: AdData[] = Array.from({ length: 121 }, (_, i) => ({
    id: i + 1,
    name: `广告 ${i + 1}`,
    flag: i % 3 === 0,
    scene: adscene[Math.floor(Math.random() * adscene.length)],
    platetype: adplatetype[Math.floor(Math.random() * adplatetype.length)],
    image: adimagePaths[Math.floor(Math.random() * adimagePaths.length)]
}));
